#include"Class.h"
void CPolygon::setValues(int a, int b){
	width = a;
	height = b;
}
int CRectangle :: area(){
	return (width * height);
}
int CTriangle::area(){
	return (width * height / 2);
}
